package gov.trasport.online.service;

import java.util.List;

import gov.trasport.online.dao.ReportDAO;
import gov.trasport.online.model.Employee;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;

public class EmployeeReportManager {
	@Autowired
	@Qualifier(value = "employeeReportDAOImpl")
	ReportDAO<Employee> employeeReportDao;

	public List<Employee> getAllEmployeeReport() {
		return employeeReportDao.getAllList();
	}

	public Employee getReport(String uinqueIdentifier) {
		
		return employeeReportDao.getData(uinqueIdentifier);		
	}
}
